package soccer.view;

import java.awt.event.ActionListener;

import javax.swing.JPanel;
import javax.swing.JButton;

public class AdminOptions extends JPanel {
	private JButton btnEnterMatch;
	private JPanel AdminButtonspanel;
	private JButton btnEnterMatchResult;
	private JButton btnEnterTeam;
	private JButton btnEnterPlayer;
	private JButton btnEnterCoach;
	private JPanel AdminActionspanel;
	
	/**
	 * Create the panel.
	 */
	public AdminOptions() {
		setLayout(null);
		
		AdminButtonspanel = new JPanel();
		AdminButtonspanel.setBounds(0, 0, 187, 300);
		add(AdminButtonspanel);
		
		btnEnterMatchResult = new JButton("Enter Match Result");
		AdminButtonspanel.add(btnEnterMatchResult);
		
		btnEnterTeam = new JButton("Enter Team");
		AdminButtonspanel.add(btnEnterTeam);
		
		btnEnterMatch = new JButton("Enter Match");
		AdminButtonspanel.add(btnEnterMatch);
		
		btnEnterPlayer = new JButton("Enter Player");
		AdminButtonspanel.add(btnEnterPlayer);
		
		btnEnterCoach = new JButton("Enter Coach");
		AdminButtonspanel.add(btnEnterCoach);
		
		AdminActionspanel = new JPanel();
		AdminActionspanel.setBounds(189, 0, 404, 300);
		add(AdminActionspanel);

	}
	
	public void selectEnterMatchResult(ActionListener l){
		btnEnterMatchResult.addActionListener(l);
	}
	public void selectEnterMatch(ActionListener l){
		btnEnterMatch.addActionListener(l);
	}
	public void selectEnterTeam(ActionListener l){
		btnEnterTeam.addActionListener(l);
	}
	public void selectEnterPlayer(ActionListener l){
		btnEnterPlayer.addActionListener(l);
	}
	public void selectEnterCoach(ActionListener l){
		btnEnterCoach.addActionListener(l);
	}
	public JButton getBtnEnterMatch() {
		return btnEnterMatch;
	}

	public void setBtnEnterMatch(JButton btnEnterMatch) {
		this.btnEnterMatch = btnEnterMatch;
	}

	public JPanel getAdminButtonspanel() {
		return AdminButtonspanel;
	}

	public void setAdminButtonspanel(JPanel adminButtonspanel) {
		AdminButtonspanel = adminButtonspanel;
	}

	public JButton getBtnEnterMatchResult() {
		return btnEnterMatchResult;
	}

	public void setBtnEnterMatchResult(JButton btnEnterMatchResult) {
		this.btnEnterMatchResult = btnEnterMatchResult;
	}

	public JButton getBtnEnterTeam() {
		return btnEnterTeam;
	}

	public void setBtnEnterTeam(JButton btnEnterTeam) {
		this.btnEnterTeam = btnEnterTeam;
	}

	public JButton getBtnEnterPlayer() {
		return btnEnterPlayer;
	}

	public void setBtnEnterPlayer(JButton btnEnterPlayer) {
		this.btnEnterPlayer = btnEnterPlayer;
	}

	public JButton getBtnEnterCoach() {
		return btnEnterCoach;
	}

	public void setBtnEnterCoach(JButton btnEnterCoach) {
		this.btnEnterCoach = btnEnterCoach;
	}

	public JPanel getAdminActionspanel() {
		return AdminActionspanel;
	}

	public void setAdminActionspanel(JPanel adminActionspanel) {
		AdminActionspanel = adminActionspanel;
	}
	
	
}
